package 抽象工厂;

public class ProductAFactory implements AbstractFactory {

    @Override
    public void funcation1() {
        System.out.println("产品A，功能1:");
        new FuncationA().function();
    }

    @Override
    public void funcation2() {
        System.out.println("产品A，功能2:");
        new FuncationB().function();
    }
}
